using System;
using System.Collections.Generic;
using System.Linq;
namespace EarthUtility
{
    public class UriOpr
    {
        public static string addQuery(string uri, string key, string value)
        {
            // TODO
            if (!uri.EndsWith("?"))
            {
               return uri + "&" + key + "=" + value;
            }
            return uri + "?" + key + "=" + value;

        }

    }

}